// https://iai.sh.cn/problem/422
#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n;
  cin >> n;
  long long m = n;
  while (n > 0) {
    int ge = n % 10;
    if (ge != 0 && m % ge != 0) {
      cout << "not clever";
      return 0;
    }
    n /= 10;
  }
  cout << "clever";
  return 0;
}